package com.szly.phm.common.entity.dto.ensure;

import com.szly.phm.common.entity.result.BasePageDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * phm
 *
 * @author: git.jas0nch
 * date: 2021-11-24
 */

@Data
public class EnsureTypePageDTO extends BasePageDTO {

    /**
     * 主键id
     */
    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "名称")
    private String name;

    // type: 01 query all;,00:query by page;
    @ApiModelProperty(value = "no page:00,page:01")
    private String type;

    /**
     * 保障周期
     */
    @ApiModelProperty(value = "保障周期（天）")
    private Integer cycle;

    // type: 01 query all;,00:query by page;
    @ApiModelProperty(value = "no:00(just query it of parent id null), :01:recursion to find parent")
//    @NotBlank(message = "所填类型不能为空")
    private String noRecursion;


}
